<!doctype html>
<html lang="en">
<head>
    <title>Code coverage report for src/components/APP/Order/Main/List.vue</title>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="..\..\..\..\..\prettify.css" />
    <link rel="stylesheet" href="..\..\..\..\..\base.css" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style type='text/css'>
        .coverage-summary .sorter {
            background-image: url(..\..\..\..\..\sort-arrow-sprite.png);
        }
    </style>
</head>
<body>
<div class='wrapper'>
  <div class='pad1'>
    <h1>
      <a href="..\..\..\..\..\index.html">All files</a> / <a href="index.html">src/components/APP/Order/Main</a> List.vue
    </h1>
    <div class='clearfix'>
      <div class='fl pad1y space-right2'>
        <span class="strong">0% </span>
        <span class="quiet">Statements</span>
        <span class='fraction'>0/54</span>
      </div>
      <div class='fl pad1y space-right2'>
        <span class="strong">0% </span>
        <span class="quiet">Branches</span>
        <span class='fraction'>0/20</span>
      </div>
      <div class='fl pad1y space-right2'>
        <span class="strong">0% </span>
        <span class="quiet">Functions</span>
        <span class='fraction'>0/9</span>
      </div>
      <div class='fl pad1y space-right2'>
        <span class="strong">0% </span>
        <span class="quiet">Lines</span>
        <span class='fraction'>0/54</span>
      </div>
    </div>
  </div>
  <div class='status-line low'></div>
<pre><table class="coverage">
<tr><td class="line-count quiet">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">&lt;template&gt;
  &lt;div o-Container o-Container-App&gt;
    &lt;van-nav-bar :title="title" left-arrow @click-left="back" v-bind="{fixed:true}"/&gt;
    &lt;div class="content"&gt;
      &lt;div class="containerMask"&gt;&lt;/div&gt;
      &lt;!--    &lt;van-search placeholder="请输入搜索关键词" show-action shape="round" @search="onSearch"&gt;--&gt;
      &lt;!--      &lt;div slot="action" @click="onSeniorSearch"&gt;高级搜索&lt;/div&gt;--&gt;
      &lt;!--    &lt;/van-search&gt;--&gt;
      &lt;van-list v-model="loading" :finished="finished" finished-text="我是有底线的。。。" @load="loadNext" v-if="active"&gt;
        &lt;template slot="default"&gt;
          &lt;div class="message" v-for="order in list.orderData" :key="order.ID" v-on:click="open(order)"&gt;
            &lt;div class="title"&gt;
              &lt;span v-bind:class="'icon icon-gongdan_'+order.TypeIDValue" v-bind:title="order.TypeID"&gt;&lt;/span&gt;
              &lt;span class="local"&gt;{{order.FloorIDValue}}/{{order.SpaceID}}&lt;/span&gt;
              &lt;span class="code"&gt;{{order.Code}}&lt;/span&gt;
              &lt;span v-bind:class="'status s_'+order.StatusValue"&gt;{{order.Status}}&lt;/span&gt;
              &lt;span v-bind:class="'status p_'+order.PriorityValue"&gt;{{order.Priority}}&lt;/span&gt;
            &lt;/div&gt;
            &lt;div class="data"&gt;
&lt;!--              &lt;div&gt;&lt;span&gt;来源：&lt;/span&gt;{{order.CreateTypeID}}&lt;/div&gt;--&gt;
              &lt;div&gt;&lt;span&gt;主题：&lt;/span&gt;{{order.Subject}}&lt;/div&gt;
              &lt;!-- &lt;div&gt;&lt;span&gt;计划开始时间：&lt;/span&gt;{{order.PlanStartTime}}&lt;/div&gt;--&gt;
              &lt;!-- &lt;div&gt;&lt;span&gt;实际开始时间：&lt;/span&gt;{{order.RealStartTime}}&lt;/div&gt;--&gt;
              &lt;!-- &lt;div&gt;&lt;span&gt;完成时间：&lt;/span&gt;{{order.FinishTime}}&lt;/div&gt;--&gt;
              &lt;div&gt;&lt;span&gt;发起时间：&lt;/span&gt;{{order.CreateTime}}，&lt;span&gt;发起人：&lt;/span&gt;{{order.CreatorID}}&lt;/div&gt;
              &lt;div&gt;&lt;span&gt;接单时间：&lt;/span&gt;{{order.ProcessorTime}}，&lt;span&gt;处理人：&lt;/span&gt;{{order.ProcessorID}}&lt;/div&gt;
              &lt;div&gt;&lt;span&gt;完成时间：&lt;/span&gt;{{order.FinishedTime}}&lt;/div&gt;
              &lt;div&gt;&lt;span&gt;关闭时间：&lt;/span&gt;{{order.CompletedTime}}，&lt;span&gt;审批人：&lt;/span&gt;{{order.DistributorID}}&lt;/div&gt;
              &lt;div&gt;&lt;span&gt;抄送人：&lt;/span&gt;{{order.CCUserList}}&lt;/div&gt;
              &lt;div class="features"&gt;
                &lt;span class="device"&gt;{{order.CreateTypeID}}&lt;/span&gt;
&lt;!--                &lt;span class="hashed"&gt;{{order.SpaceID}}&lt;/span&gt;--&gt;
                &lt;span class="processTimer"&gt;&lt;span&gt;处理时长：&lt;/span&gt;{{order.CreateTime}}&lt;/span&gt;
                &lt;!--                &lt;span class="hashed"&gt;{{order.}}&lt;/span&gt;--&gt;
&lt;!--                &lt;span class="hashed"&gt;{{order.Priority}}&lt;/span&gt;--&gt;
                &lt;!--                &lt;span v-if="order.IsDelay == 1" class="delay"&gt;存在延误&lt;/span&gt;--&gt;
&lt;!--                &lt;span v-if="order.ApprovalStatus != 0" class="approval"&gt;特批延误&lt;/span&gt;--&gt;
&lt;!--                &lt;span v-if="order.IsException == 1" class="exception"&gt;存在异常&lt;/span&gt;--&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/template&gt;
      &lt;/van-list&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/template&gt;
&nbsp;
&lt;script&gt;
  export default {
    name: "mms_engine_database_item", /* 这个name暂时不知道用啥用，根据官方文档说的是方便排错的 */
<span class="fstat-no" title="function not covered" >    data() {</span>
<span class="cstat-no" title="statement not covered" >      return {</span>
        octopus: this.$parent.octopus,
        title: "",
        list: {
          order: {
            data: {
              id: 54, // 工单数据源
              cellData: [
                {name: "Priority"},
                {name: "PriorityValue"},
                {name: "CreateTypeID"},
                {name: "TypeID"},
                {name: "TypeIDValue"},
                {name: "SpaceID"},
                {name: "ProjectID", filterKey: "="},
                {name: "BuildingID"},
                {name: "FloorIDValue"},
                {name: "Status", filterKey: "IN"},
                {name: "StatusValue"},
                {name: "Code"},
                {name: "Subject"},
                {name: "Description"},
                {name: "CreatorID", filterKey: "="},
                {name: "CreateTime", filterKey: "&gt;"},
                {name: "DistributorID", filterKey: "="},
                {name: "DistributedTime"},
                {name: "ProcessorID", filterKey: "="},
                {name: "ProcessorTime"},
                {name: "FinishedTime"},
                {name: "CompletedTime"},
                {name: "CCUserList",filterKey:"LIKE"},
                {name: "PhotoList"},
              ],
              pageData: {
                index: 1, listSize: 10, rowSize: 10 // 菜单全部加载。
              }
            },
          },
          orderData: [],
        },
        indexData: 1,
        loading: false,
        finished: false,
        active: true,
        showPointData: false,
        InspectInfoData: null, // 选中打开的巡检单记录数据
        PointInfoData: null, // 选中的巡检点数据
        canCheckPoint: false, // 是否允许打卡功能
      }
    },
<span class="fstat-no" title="function not covered" >    activated: function () {</span>
<span class="cstat-no" title="statement not covered" >      this.reset();</span>
<span class="cstat-no" title="statement not covered" >      this.octopus.tips.debug("OrderList.vue执行了activated事件。");</span>
    },
<span class="fstat-no" title="function not covered" >    deactivated: function () {</span>
<span class="cstat-no" title="statement not covered" >      this.active = false; // 活动状态设置为false</span>
<span class="cstat-no" title="statement not covered" >      this.octopus.tips.debug("OrderList.vue执行了deactivated事件。");</span>
    },
    methods: {
<span class="fstat-no" title="function not covered" >      loadNext: function () {</span>
<span class="cstat-no" title="statement not covered" >        let o = this;</span>
<span class="cstat-no" title="statement not covered" >        this.octopus.tools.parseCell(this.list.order.data, "ProjectID").filterValue = this.octopus.passport.project;</span>
        // 查询前重置。
<span class="cstat-no" title="statement not covered" >        this.octopus.tools.parseCell(this.list.order.data, "CreatorID").filterValue = null;</span>
<span class="cstat-no" title="statement not covered" >        this.octopus.tools.parseCell(this.list.order.data, "ProcessorID").filterValue = null;</span>
<span class="cstat-no" title="statement not covered" >        this.octopus.tools.parseCell(this.list.order.data, "DistributorID").filterValue = null;</span>
<span class="cstat-no" title="statement not covered" >        this.octopus.tools.parseCell(this.list.order.data, "CCUserList").filterValue = null;</span>
<span class="cstat-no" title="statement not covered" >        this.octopus.tools.parseCell(this.list.order.data, "CreateTime").filterValue = null;</span>
<span class="cstat-no" title="statement not covered" >        this.octopus.tools.parseCell(this.list.order.data, "Status").filterValue = null;</span>
&nbsp;
<span class="cstat-no" title="statement not covered" >        let query = this.octopus.router.get().query;</span>
&nbsp;
<span class="cstat-no" title="statement not covered" >        if (query["status"] == "Launch") {</span>
<span class="cstat-no" title="statement not covered" >          this.title = "我发起的工单";</span>
<span class="cstat-no" title="statement not covered" >          this.octopus.tools.parseCell(this.list.order.data, "CreatorID").filterValue = this.octopus.passport.id;</span>
<span class="cstat-no" title="statement not covered" >        } else if (query["status"] == "Process") {</span>
<span class="cstat-no" title="statement not covered" >          this.title = "我处理的工单";</span>
<span class="cstat-no" title="statement not covered" >          this.octopus.tools.parseCell(this.list.order.data, "ProcessorID").filterValue = this.octopus.passport.id;</span>
<span class="cstat-no" title="statement not covered" >        }</span>
        else if (query["status"] == "CC") {
<span class="cstat-no" title="statement not covered" >          this.title = "抄送我的工单";</span>
<span class="cstat-no" title="statement not covered" >          this.octopus.tools.parseCell(this.list.order.data, "CCUserList").filterValue = this.octopus.passport.id;</span>
<span class="cstat-no" title="statement not covered" >        }</span>
        else if (query["status"] == "Supervise") {
<span class="cstat-no" title="statement not covered" >          this.title = "我监管的工单";</span>
<span class="cstat-no" title="statement not covered" >          this.octopus.tools.parseCell(this.list.order.data, "DistributorID").filterValue = this.octopus.passport.id;</span>
<span class="cstat-no" title="statement not covered" >        }</span>
        else if (query["status"] == "TodayCount") {
<span class="cstat-no" title="statement not covered" >          this.title = "今日工单";</span>
<span class="cstat-no" title="statement not covered" >          this.octopus.tools.parseCell(this.list.order.data, "CreateTime").filterValue = this.octopus.tools.date("yyyy/MM/dd 00:00:00");</span>
<span class="cstat-no" title="statement not covered" >        }</span>
        else if (query["status"] == "DoingCount") {
<span class="cstat-no" title="statement not covered" >          this.title = "处理中的工单";</span>
<span class="cstat-no" title="statement not covered" >          this.octopus.tools.parseCell(this.list.order.data, "Status").filterValue = 4;</span>
<span class="cstat-no" title="statement not covered" >        }</span>
        else if (query["status"] == "TodoCount") {
<span class="cstat-no" title="statement not covered" >          this.title = "待处理的工单";</span>
<span class="cstat-no" title="statement not covered" >          this.octopus.tools.parseCell(this.list.order.data, "Status").filterValue = [2,3];</span>
<span class="cstat-no" title="statement not covered" >        }</span>
        else if (query["status"] == "DoneCount") {
<span class="cstat-no" title="statement not covered" >          this.title = "累计完成工单";</span>
<span class="cstat-no" title="statement not covered" >          this.octopus.tools.parseCell(this.list.order.data, "Status").filterValue = [6];</span>
        }
&nbsp;
<span class="cstat-no" title="statement not covered" >        this.list.order.data.pageData.index = this.indexData;</span>
        // alert(this.indexData);
        // 请求后台八爪鱼API框架。
<span class="cstat-no" title="statement not covered" >        this.octopus.request.api.post("/Octopus/Engine/List", this.list.order.data,</span>
          // 处理回调事件，通过分析data.status.code的状态来实现。
<span class="fstat-no" title="function not covered" >          function (data) {</span>
<span class="cstat-no" title="statement not covered" >            if (data.status.code == 200) {</span>
              // o.$set(o.list.sensor, "data", data.content);
              // 追加数据
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >              $(data.content.queryData).each(function (index, item) {</span></span>
<span class="cstat-no" title="statement not covered" >                o.list.orderData.push(item);</span>
              });
              // 执行完，分页+1
<span class="cstat-no" title="statement not covered" >              o.indexData += 1;</span>
&nbsp;
<span class="cstat-no" title="statement not covered" >              if (o.indexData &gt; data.content.pageData.totalPages) {</span>
<span class="cstat-no" title="statement not covered" >                o.finished = true;</span>
              }
            } else {
<span class="cstat-no" title="statement not covered" >              o.octopus.tips.error(data);</span>
            }
            // 加载状态结束
<span class="cstat-no" title="statement not covered" >            o.loading = false;</span>
          });
      },
<span class="fstat-no" title="function not covered" >      open:function(order){</span>
&nbsp;
      },
<span class="fstat-no" title="function not covered" >      reset: function () {</span>
        // 每次激活，重新加载
<span class="cstat-no" title="statement not covered" >        this.$set(this.list, "orderData", []);</span>
<span class="cstat-no" title="statement not covered" >        this.indexData = 1;</span>
<span class="cstat-no" title="statement not covered" >        this.finished = false;</span>
<span class="cstat-no" title="statement not covered" >        this.active = true;// 活动状态设置为true</span>
&nbsp;
<span class="cstat-no" title="statement not covered" >        this.octopus.tips.debug("InspectList.vue执行了reset事件。");</span>
      },
<span class="fstat-no" title="function not covered" >      back: function () {</span>
<span class="cstat-no" title="statement not covered" >        this.octopus.router.jump('/APP/Order/Main/Page')</span>
      },
    },
    props: ["oData"]
  }
&lt;/script&gt;
&nbsp;</pre></td></tr>
</table></pre>
<div class='push'></div><!-- for sticky footer -->
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
  Code coverage
  generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Jan 20 2020 17:54:15 GMT+0800 (GMT+08:00)
</div>
</div>
<script src="..\..\..\..\..\prettify.js"></script>
<script>
window.onload = function () {
        if (typeof prettyPrint === 'function') {
            prettyPrint();
        }
};
</script>
<script src="..\..\..\..\..\sorter.js"></script>
</body>
</html>
